<template>
  <el-table
    :data="tableData"
    border
    :header-cell-style="{background:'#eef1f6',color:'#909399'}"
    style="width: 100%">
    <el-table-column
      type="index"
      align="center"
      label="序号"
      width="50">
    </el-table-column>
    <el-table-column
      prop="date"
      align="center"
      label="行号">
    </el-table-column>
    <el-table-column
      prop="name"
      align="center"
      label="工序号">
    </el-table-column>
    <el-table-column
      prop="address"
      align="center"
      label="工序名称">
    </el-table-column>
    <el-table-column
      prop="date"
      align="center"
      label="组件编码">
    </el-table-column>
    <el-table-column
      prop="name"
      align="center"
      label="组件名称">
    </el-table-column>
    <el-table-column
      prop="address"
      align="center"
      label="规格型号">
    </el-table-column>
    <el-table-column
      prop="name"
      align="center"
      label="单位">
    </el-table-column>
    <el-table-column
      prop="address"
      align="center"
      label="基本用量">
    </el-table-column>
  </el-table>
</template>

<script>
  export default {
    data() {
      return {
        tableData: [{
          date: '2016-05-02',
          name: '王小虎',
          address: '1'
        }, {
          date: '2016-05-04',
          name: '王小虎',
          address: '1'
        }, {
          date: '2016-05-01',
          name: '王小虎',
          address: '1'
        }, {
          date: '2016-05-03',
          name: '王小虎',
          address: '1'
        }]
      }
    }
  }
</script>